package prox.voiceshare;

public class voiceshare {
	static {
		System.loadLibrary("G726EnDe");
	}

	public static native int VoiceEncode(byte SpeechData[],
			byte BitstreamData[]);

	public static native int VoiceDecode(byte BitstreamData[],
			byte SpeechData[]);

	public void Cleanup() {

	}

	public int VoiceEncode(byte SpeechData[], byte BitstreamData[], int a) {
		return VoiceEncode(SpeechData, BitstreamData);
	}

	public int VoiceDecode(byte BitstreamData[], byte SpeechData[], int a) {
		return VoiceDecode(BitstreamData, SpeechData);
	}
}